﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LLClient.ClientServiceRef;

namespace LLClient.ServerProxy
{
    /// <summary>
    /// Event when there is raised callback from server
    /// </summary>
    public class ProxyCallbackEventArgs : EventArgs
    {
        Client _sender;
        Message _message;
        CallbackType _callbackType;
        private Dictionary<int, int> player1Ships = null;
        private Dictionary<int, int> player2Ships = null;

        public Client Sender
        {
            get { return _sender; }
            set { _sender = value; }
        }
        
        public Message Message
        {
            get { return _message; }
            set { _message = value; }
        }

        public CallbackType CallbackType
        {
            get { return _callbackType; }
            set { _callbackType = value; }
        }

        public Dictionary<int, int> Player1Ships
        {
            get { return player1Ships; }
            set { player1Ships = value; }
        }

        public Dictionary<int, int> Player2Ships
        {
            get { return player2Ships; }
            set { player2Ships = value; }
        }
    }
}
